FROM frolvlad/alpine-oraclejdk8

MAINTAINER xl7@qq.com

ADD /app.jar app.jar

EXPOSE 20010

CMD java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=2 -Djava.security.egd=file:/dev/./urandom -jar /app.jar
